home *** CD-ROM | disk | FTP | other *** search
/ PCGUIA 127 / PC Guia 127.iso / Software / Utils / ArovaxShield / ashield_1_setup_314.exe / HTMLayout.dll / 4105 / HTML / 107
Encoding:
Text File  |  2005-11-18  |  8.1 KB  |  391 lines

  1. /* hyperlinks */
  2. a:link { text-decoration:underline; color:blue; cursor:pointer; behavior:hyperlink; }
  3. a:link:hover { color:red; }
  4. a:link:active { text-decoration:none; }
  5.  
  6. /* edit box and numeric input*/
  7. input[type="text"],
  8. input[type="number"]
  9.     font-family:system;
  10.     padding:3px; 
  11.     height:1em; 
  12.     width:1em; 
  13.     behavior:edit; 
  14.     background-image:url(theme:edit-normal); 
  15.     background-repeat:stretch; 
  16.     width: min-intrinsic;
  17.     height: min-intrinsic;
  18.     text-align: left;
  19.     cursor:text;
  20. }
  21.  
  22. input[type="hidden"] { display:none; }
  23.  
  24. input[type="number"]
  25. {
  26.     text-align: right;
  27.     behavior:number; 
  28. }
  29.  
  30. input[type="number"][invalid]
  31. {
  32.     color:red;
  33. }
  34.  
  35.  
  36. input[type="number"] > button.minus
  37. {
  38.     padding:0;
  39.     background-image:url(theme:v-spin-minus-normal); 
  40.     background-repeat:stretch; 
  41. }
  42. input[type="number"] > button.minus:hover
  43. {
  44.     background-image:url(theme:v-spin-minus-hover); 
  45. }
  46. input[type="number"] > button.minus:active
  47. {
  48.     background-image:url(theme:v-spin-minus-pressed); 
  49. }
  50. input[type="number"] > button.plus
  51. {
  52.     padding:0;
  53.     background-image:url(theme:v-spin-plus-normal); 
  54.     background-repeat:stretch; 
  55. }
  56. input[type="number"] > button.plus:hover
  57. {
  58.     background-image:url(theme:v-spin-plus-hover); 
  59. }
  60. input[type="number"] > button.plus:active
  61. {
  62.     background-image:url(theme:v-spin-plus-pressed); 
  63. }
  64.  
  65.  
  66. /* text button */
  67. input[type="button"], button 
  68.     padding:4px 8px; 
  69.     display:inline-block;
  70.     white-space: nowrap;
  71.     behavior:button; 
  72.     background-repeat:stretch; 
  73.     background-image:url(theme:button-normal); 
  74.     cursor:default;
  75. }
  76. input[type="button"]:hover, button:hover
  77.     background-image:url(theme:button-hover);  
  78.     transition: blend;
  79. }
  80. input[type="button"]:active, button:active
  81.     background-image:url(theme:button-pressed);  
  82. }
  83. input[type="button"]:disabled, button[disabled] 
  84.     background-image:url(theme:button-disabled);  
  85. }
  86. input[type="button"]:focus, button:focus 
  87. {
  88.   outline:1px dotted black -4px; /* inside */
  89. }
  90.  
  91.  
  92. /* radio button */
  93. input[type="radio"]
  94.     padding:5px; 
  95.     height:13px; 
  96.     width:13px; 
  97.     behavior:radio; 
  98.     background-repeat:no-repeat; 
  99.     background-position:50% 50%;
  100.     background-image:url(theme:radio-normal);  
  101.     cursor:default;
  102. }
  103. input[type="radio"]:hover
  104.     background-image:url(theme:radio-hover);  
  105. }
  106. input[type="radio"]:active
  107.     background-image:url(theme:radio-pressed);  
  108. }
  109. input[type="radio"]:disabled
  110.     background-image:url(theme:radio-disabled);  
  111. }
  112. input[type="radio"]:checked
  113.     background-image:url(theme:radio-checked-normal);  
  114. }
  115. input[type="radio"]:checked:hover
  116.     background-image:url(theme:radio-checked-hover);  
  117. }
  118. input[type="radio"]:checked:active
  119.     background-image:url(theme:radio-checked-pressed);  
  120. }
  121. input[type="radio"]:checked:disabled
  122.     background-image:url(theme:radio-checked-disabled);  
  123. }
  124.  
  125. input[type="radio"]:focus 
  126. {
  127.   outline:1px dotted black -3px; /* inside */
  128. }
  129.  
  130. /* checkbox button */
  131. input[type="checkbox"]
  132.     padding:5px; 
  133.     height:13px; 
  134.     width:13px; 
  135.     behavior:check; 
  136.     background-repeat:no-repeat; 
  137.     background-position:50% 50%;
  138.     background-image:url(theme:check-normal);  
  139.     cursor:default;
  140. }
  141. input[type="checkbox"]:hover
  142.     background-image:url(theme:check-hover);  
  143. }
  144. input[type="checkbox"]:active
  145.     background-image:url(theme:check-pressed);  
  146. }
  147. input[type="checkbox"]:disabled
  148.     background-image:url(theme:check-disabled);  
  149. }
  150. input[type="checkbox"]:checked
  151.     background-image:url(theme:check-checked-normal);  
  152. }
  153. input[type="checkbox"]:checked:hover
  154.     background-image:url(theme:check-checked-hover);  
  155. }
  156. input[type="checkbox"]:checked:active
  157.     background-image:url(theme:check-checked-pressed);  
  158. }
  159. input[type="checkbox"]:checked:disabled
  160.     background-image:url(theme:check-checked-disabled);  
  161. }
  162. input[type="checkbox"]:focus 
  163. {
  164.   outline:1px dotted black -3px; /* inside */
  165. }
  166.  
  167.  
  168. /* select (not dropdown) */
  169. select[type="select"], widget[type="select"]
  170.     overflow-x:hidden; 
  171.     overflow-y:auto; 
  172.     behavior:select; 
  173.     padding:2px; 
  174.     background-repeat:stretch; 
  175.     background-image:url(theme:edit-normal); 
  176.     width: max-intrinsic;
  177.     height: max-intrinsic;
  178. }
  179.  
  180. optgroup > caption 
  181.     padding:3px 3px; font-weight:bold; 
  182.     color: graytext; 
  183. }
  184.  
  185. option 
  186.     padding:0px 3px; 
  187. }
  188.  
  189. option:checked 
  190.     background-color:threedlight; color:windowtext; 
  191. }
  192.  
  193. select[type="select"][multiple] option, 
  194. widget[type="select"][multiple] option
  195. {
  196.     padding: 2px 0px 2px 20px; 
  197.        background-repeat:no-repeat; 
  198.     background-position:4px 50%;
  199.     background-image:url(theme:check-normal);  
  200. }
  201.  
  202. select[type="select"][multiple] option:checked, 
  203. widget[type="select"][multiple] option:checked
  204. {
  205.     background-image:url(theme:check-checked-normal);  
  206. }
  207.  
  208.  
  209. widget:focus option:current, 
  210. select:focus option:current 
  211.     background-color:highlight; color:highlighttext; 
  212. }
  213.  
  214. optgroup > option 
  215.     padding:0px 19px; 
  216. }
  217.  
  218. options
  219. {
  220.     padding-left:32px;
  221.     foreground-image:url(theme:tree-view-glyph-closed);
  222.     foreground-repeat: no-repeat;
  223.     foreground-position: 3px 3px;
  224. }
  225.  
  226. options:expanded
  227. {
  228.     foreground-image:url(theme:tree-view-glyph-open);
  229. }
  230.  
  231. /* all elements in <options> by default are non-visible */
  232. options > *    { display:none; }
  233.  
  234. /* elements in open options are visible */
  235. options:expanded > * { display:block; }
  236.  
  237. /* options caption element, always visible */
  238. options > :first-child
  239. {
  240.   padding:0 3px;
  241.   display:block;
  242.   margin-left:-16px;
  243. }
  244. options:current > :first-child
  245.   background-color:threedlight; color:windowtext; 
  246. }
  247.  
  248. widget:focus options:current > :first-child,
  249. select:focus options:current > :first-child
  250.   background-color:highlight; color:highlighttext; 
  251. }
  252.  
  253. /* options caption element, always visible */
  254. select[type="select-dropdown"]
  255. {    
  256.     overflow:hidden; 
  257.     behavior:dropdown-select;
  258.     padding:0;
  259.     flow:horizontal;  /* caption, button*/
  260.     background-repeat:stretch; 
  261.     background-image:url(theme:edit-normal); 
  262.     width: max-intrinsic;
  263.     height: max-intrinsic;
  264. }
  265.  
  266. /* caption portion of combobox */
  267. select[type="select-dropdown"] > caption
  268.     padding:1px 3px;
  269.     margin:2px 0px 2px 2px; 
  270.     overflow:hidden; 
  271.     width:100%%; /* everything left from button */
  272.     height:100%%; /* takes full height */
  273.     vertical-align:middle;
  274.     white-space: nowrap;
  275.     background-color:window; color:windowtext; 
  276. }
  277.  
  278. /* caption portion of combobox when select is in focus */
  279. select[type="select-dropdown"]:focus > caption
  280.     background-color:highlight; color:highlighttext; 
  281. }
  282.  
  283. /* popup select element */
  284. select[type="select-dropdown"] > select
  285.     overflow-x:hidden; 
  286.     overflow-y:auto; 
  287.     padding:2px; 
  288.     display:none; /* invisible normally */
  289.     /* background-repeat:stretch; 
  290.        background-image:url(theme:edit-normal); 
  291.     */
  292.     border:1px solid threedshadow;
  293.     background-color: window; 
  294.     behavior:select; 
  295.     width: max-intrinsic;
  296.     height: max-intrinsic;
  297. }
  298.  
  299. /* dropdown button of the combobox */
  300. select[type="select-dropdown"] > button
  301. {
  302.     width: 15px; /* metrics(width, theme:combobox-button-normal) */
  303.     margin:1px 1px 1px 0px; 
  304.     padding:0px; 
  305.     height:100%%;
  306.     background-repeat:stretch; 
  307.     background-image:url(theme:combobox-button-normal);
  308. }
  309. select[type="select-dropdown"] > button:hover
  310. {
  311.     background-image:url(theme:combobox-button-hover);
  312. }
  313. select[type="select-dropdown"] > button:active
  314. {
  315.     background-image:url(theme:combobox-button-pressed);
  316. }
  317.  
  318. textarea, htmlarea
  319. {
  320.     padding:3px; 
  321.     behavior:text; 
  322.     background-image:url(theme:edit-normal); 
  323.     background-repeat:stretch; 
  324.     width: min-intrinsic;
  325.     height: min-intrinsic;
  326.     overflow-x:auto; 
  327.     overflow-y:scroll; 
  328. }
  329.  
  330. textarea[wrap="off"]
  331. {
  332.     overflow-x:scroll; 
  333.     overflow-y:scroll; 
  334. }
  335.  
  336. widget[type="textarea"], widget[type="htmlarea"]
  337. {
  338.     padding:3px; 
  339.     behavior:text; 
  340.     background-image:url(theme:edit-normal); 
  341.     background-repeat:stretch; 
  342.     overflow-x:auto; 
  343.     overflow-y:scroll; 
  344. }
  345.  
  346. popup
  347.     border:1px solid threedshadow;
  348.     background-color: infobackground;
  349.     font-family:system;
  350.     color:infotext;
  351.     padding:1px 2px; 
  352.     display:none; /* invisible normally */
  353.     width: max-intrinsic;
  354.     height: max-intrinsic;
  355. }
  356.  
  357.  
  358.